#ifndef _CMULTICOMMAND_H_
#define _CMULTICOMMAND_H_

#include "IDoUndoCommand.h"
#include "IrrArray.h"

class CMultiCommand : public IDoUndoCommand
{
public:
	~CMultiCommand ();

	void addCommand (IDoUndoCommand* command);
	int getCommandCount () const { return m_commands.size(); }

	void redo ();
	void undo ();

private:
	array<IDoUndoCommand*> m_commands;
	bool m_hasDescription;
	stringw m_description;
};

#endif
